import os
# 基础路径
current_dir = os.path.dirname(os.path.abspath(__file__))
BASE_DIR = os.path.join(os.path.dirname(current_dir), "")
# 存储pdf中所有数据的路径
DATA_PATH = os.path.join(BASE_DIR, "pdf_data")
# 存储pdf中文本信息的路径
PDF_TEXT_DIR = os.path.join(DATA_PATH, "pdf_docs")
# 存储错误pdf文件的路径
ERROR_PDF_DIR = os.path.join(DATA_PATH, "error_pdfs")
# 并发运行的进程数
NUM_PROCESSES = 32
# XPDF是一个轻量级的PDF查看器
XPDF_PATH = os.path.join(BASE_DIR, "xpdf/bin64")
